<?php
  App::import('Vendor', "charts");
  $chart [ 'chart_value' ] = array (  'prefix'         =>  "", 
                                    'suffix'         =>  "", 
                                    'decimals'       =>  0,
                                    'decimal_char'   =>  ".",  
                                    'separator'      =>  "",
                                    'position'       =>  "outside",
                                    'hide_zero'      =>  false, 
                                    'as_percentage'  =>  false, 
                                    'font'           =>  "Arial", 
                                    'bold'           =>  true, 
                                    'size'           =>  10, 
                                    'color'          =>  "000000", 
                                    'alpha'          =>  90
                                  );
  
	$chart['draw'] = array (array ( 'type'=>"text", 'color'=>"000000", 'alpha'=>50, 'font'=>"arial", 'rotation'=>-90, 'bold'=>true, 'size'=>35, 'x'=>-5, 'y'=>270, 'width'=>250, 'height'=>80, 'text'=>"members", 'h_align'=>"center" ));
  $chart['chart_data'] = array($months,$members_added,$members_paid,$members_total);
  SendChartData($chart);
  //pr($chart);
?>
